<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<%@ page session="false"%>
<html>
<link rel="stylesheet" href="resources/mytheme/css/main.css">
<link rel="stylesheet" type="text/css" href="resources/mytheme/css/slider.css">
<script src="resources/js/jQuery.js"></script>
<script src="resources/js/slider.js"></script>
<head>
<title>Acme Insurance</title>
</head>

<body>
	<div id="headerContainer">
		<div class="centerContainer">
			<ol>
			<sec:authorize ifAllGranted="ROLE_ADMIN">
				<li><a href="AdminUsers">Users</a></li>
				<li><a href="AdminRejectedClaims">Rejected Claims</a></li>
				<li><a href="AdminAcceptedClaims">Accepted Claims</a></li>
				<li><a href="AdminAllClaims">All Claims</a></li>
			</sec:authorize>
			<sec:authorize ifAnyGranted="ROLE_ADMIN, ROLE_ADJUSTER">
				<li><a href="InsuranceAdjuster">Adjust Claims</a></li>
			</sec:authorize>
			</ol>
		</div>
		<!-- /centerContainer -->

	</div>
	<!-- /headerContainer -->

	<div id="secondHeaderContainer">
		<div class="logoContainer">
			<img src="resources/mytheme/images/logo2.png" alt="logo" width="205"
				height="89">
		</div>
		<!-- /logoContainer -->
		<div class="navContainer">

			<ul id="navWrapper">
				<li><a href="/AcmeClaims">Home</a></li>
				<sec:authorize ifNotGranted="ROLE_ADMIN">
				<c:if test="${pageContext.request.userPrincipal.name != null}">
					<li>
						<!-- Menu A --> <a href="#">Claims</a>
						<ul>
							<li><a href="ClaimPortal">Submit Claim</a></li>
							<li><a href="MyAccount">View Claim</a></li>
						</ul>
					</li>
					<li><a href="MyAccount">My Account</a></li>
				</c:if>
				</sec:authorize>
				<li><a href="locatedoctor">Find a Doctor</a></li>
			</ul>
		</div>
		<!-- /navContainer -->
	</div>
	<!-- /secondHeaderContainer -->

	<div id="thirdHeaderContainer">
		<div class="lowerheaderContainer">
			<c:if test="${pageContext.request.userPrincipal.name != null}">
				<ol>
					<li><a href="<c:url value="/MyAccount" />">${pageContext.request.userPrincipal.name}</a></li>
					<li>|</li> 
	                <li><a href="<c:url value="/Logout" />" > Logout</a></li>
                 </ol> 
			</c:if>
			<c:if test="${pageContext.request.userPrincipal.name == null}">
				<ol>
					<li><a href="Login">Log-In</a></li>
					<li>|</li>
					<li><a href="register">Register</a></li>
				</ol>
			</c:if>
		</div>
		<!-- /lowerHeader-->
	</div>
	<!--/thirdHeaderContainer"-->



	<div class="wrapper">

		<div id="slider">
			<img id="1" src="resources/mytheme/img/Feature-Content.png"
				alt="Coverage for you and your Family after a Major LIfe Event.">
			<img id="2" src="resources/mytheme/img/Feature-Content2.png"
				alt="Your Card. Your Plan."> <img id="3"
				src="resources/mytheme/img/Feature-Content3.png"
				alt="Live Fearless."> <img id="4"
				src="resources/mytheme/img/Feature-Content4.png"
				alt="Find a Doctor.">
		</div>


	</div>



	<div id="smallCenterHolder"><div class="mainSmallCenterContainer"></div></div>
	<div id="homemainCenterHolder">
	<div id="mainCenterHolder">
	
		<div class="mainCenterContainer">
			<div id="headerholder">
				<div class="maina">
					<img src="resources/mytheme/images/submitclaim.png" alt="logo"
						width="303" height="106">
					<div id="text">
						<p>With Acme Claims, creating your claims is faster and easier than ever before. 
							Our technology lets you create and review claims, submit them to your insurance company, 
							and even re-submit them in case you've missed something important, all without 
							leaving your keyboard! Your claim form is automatically generated for easy printing.
							If you prefer, you can also download a claim form and fill it out by hand. </p>
					</div>
				</div>
				<div class="mainb">
					<div id="mainimage">
						<img src="resources/mytheme/images/shop.png" alt="logo"
							width="303" height="106">
					</div>
					<div id="text2">
						<p>We know that finding the right insurance can be a difficult decision. That's why 
							Acme Claims provides you with easy to use tools to shop for and compare health 
							insurance plans from all the major insurance companies. Worried that you are paying
							too much for insurance? Now you can know for sure!</p>
					</div>

				</div>
				<div class="mainc">
					<img src="resources/mytheme/images/tipandin.png" alt="logo"
						width="303" height="106">
					<div id="text">
						<p>By clicking on the following link you will be able to link to important Health information
						 	and even watch health videos of your choosing:
						 <br></br>
						     <a href="<c:url value="/WatchVideo" />" >Health Links/Videos on Demand</a>
							</p>
					</div>

				</div>
				<div class="maina">
					<img src="resources/mytheme/images/findoc.png" alt="logo"
						width="303" height="106">
					<div id="text">
						<p>So you've got the right insurance and you're confident you can communicate with your
						insurance provider with ease and efficiency, but what about doctors?! Our nifty map tool 
						helps you find all the doctors near you in one click. Never switch tabs in your browser
						again!
						</p>
					</div>

				</div>
				<div class="mainb">
					<div id="mainimage">
						<img src="resources/mytheme/images/manage.png" alt="logo"
							width="303" height="106">
					</div>
					<div id="text2">
						<p>We let you see all your claims and check their status in one place, and we'll keep
						you up to date about the claim approval process. Our notification system ensures you won't
						be kept waiting, or be confused about how your claim is being handled. That's the peace
						of mind you get with Acme Claims.</p>
					</div>

				</div>
				<div class="mainc">
					<img src="resources/mytheme/images/welnessprogram.png" alt="logo"
						width="303" height="106">
					<div id="text">
					
						<p><a target="_blank" href="<c:url value="http://www.niams.nih.gov/" />" >From the National Institutes of Health (NIH)</a>
                 		    A place to start (Child Friendly)
						<br></br><a target="_blank" href="<c:url  value="http://www.niams.nih.gov/Health_Info/Kids/healthy_muscles.asp" />" >Healthy Muscles Matter</a>
                 		    <br></br><a target="_blank" href="<c:url value="http://www.niams.nih.gov/Health_Info/Kids/healthy_skin.asp" />" >Healthy Skin Matters</a>
                 		    <br></br><a target="_blank" href="<c:url value="http://www.niams.nih.gov/Health_Info/Kids/healthy_joints.asp" />" >Healthy Joints Matter</a>
                 		     <br></br><a target="_blank" href="<c:url value="http://www.niams.nih.gov/Health_Info/Kids/healthy_bones.asp" />" >Healthy Bones Matter</a>
						
						</p>
					</div>

				</div>
			</div>
			<!-- Headerholder -->
			
		</div>
		<!--mainCenterContatiner-->
		</div>
	</div>
	<!--MainCenterHolder-->

	<div id="footer">
		<div class="footerwrap">
			<div class="foota">
				<br>
				<p>Connect With Us</p>
				<div id="footapad">
					<a href="#"><img src="resources/mytheme/images/fb.png" id="facebook" alt="logo" width="67" height="73"></a>
					<a href="#"><img src="resources/mytheme/images/twit.png" id="twitter" alt="logo" width="65" height="73"></a>
					<a href="#"><img src="resources/mytheme/images/pin.png" id="pintrest" alt="logo" width="67" height="73"></a>
				</div>
			</div>
			<div class="footb">
				<br>
				<p>Toll Free: 1-800-382-3827</p>
				<ol>
					<li>Acme Corporate</li>
					<li>143 23rd Ave South</li>
					<li>Fargo, North Dakota 58121</li>
				</ol>
			</div>
			<div class="footc">
				<br>
				<p>Need Help?</p>
				<ol>
					<li><a href="ContactUs">Contact Us</a></li>
					<li><a href="LocateDoctor">Get Directions</a></li>
					<li><a href="FAQ">FAQ's</a></li>
				</ol>

			</div>
		</div>
		<!-- FooterWrap -->
	</div>
	<!-- Footer -->


</body>
</html>
